<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>

	<body style="font-family: '微软雅黑';">
		<script type="text/javascript">
			var f = prompt('请输入你跳的楼层：')
			for(var u = 1; u <= f; u++) {
				for(var c = 0; c < f - u; c++) {
					document.write('&nbsp;')
				}
				for(var k = 0; k < 2 * u - 1; k++) {
					document.write('*')
				}
				document.write('<br>')
			}
		</script>
	</body>

</html>